<div class="form-group">
    <label class="col-lg-2 col-sm-2 control-label">分享标题</label>
    <div class="col-lg-6">
        <input class="form-control" name="share_title" value="{$questionnaire['share_title']}">
        <p class="help-block">默认为结束页的标题</p>
    </div>
</div>
<div class="form-group">
    <label class="col-lg-2 col-sm-2 control-label">分享描述</label>
    <div class="col-lg-6">
        <textarea class="form-control" rows="5" name="share_desc" title="请输入分享描述">{$questionnaire['share_desc']}</textarea>
        <p class="help-block">默认为结束页的结束语</p>
    </div>
</div>
<div class="form-group">
    <label class="col-lg-2 col-sm-2 control-label">分享链接</label>
    <div class="col-lg-6">
        <input class="form-control" name="share_link" value="{$questionnaire['share_link']}">
        <p class="help-block">默认为首页的链接</p>
    </div>
</div>
<div class="form-group">
    <label class="col-lg-2 col-sm-2 control-label">分享图标</label>
    <div class="col-lg-6">
        <input type="hidden" name="share_image" value="{$questionnaire['share_image']}">
        <input type="file" class="activity-image" onchange="uploadImage(this, ['jpg','jpeg','gif'], [50, 50], 500, true, true);" accept="image/gif,image/jpeg,image/jpg,image/png">
        <empty name="questionnaire.share_image">
            <img src="/Public/images/questionnaire/share_image.jpg" class="thumbnail" width="100px" height="100px">
        <else/>
            <img src="{$questionnaire['share_image']}" class="thumbnail" width="100px" height="100px">
        </empty>
        <p class="help-block">有默认的分享图片，可自定义替换，图片为50*50px 的jpg、jpeg、gif图片，文件不超过500k</p>
    </div>
</div>